package com.ihelin.insurance.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
* 薪酬
*
* @author iHelin ihelin@outlook.com
* @since 2021-02-28 12:24:00
*/
@TableName("t_payment")
public class PaymentEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * id
    */
    @TableId
    private Integer id;
    /**
    * 代理人编号
    */
    private Integer agentId;
    /**
     * 代理人姓名
     */
    private String agentName;
    /**
     * 年月
     */
    private String time;
    /**
     * 基本工资
     */
    private BigDecimal basic;
    /**
    * 绩效工资
    */
    private BigDecimal performance;
    /**
    * 实际金额
    */
    private BigDecimal realAmount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public BigDecimal getBasic() {
        return basic;
    }

    public void setBasic(BigDecimal basic) {
        this.basic = basic;
    }

    public BigDecimal getPerformance() {
        return performance;
    }

    public void setPerformance(BigDecimal performance) {
        this.performance = performance;
    }

    public BigDecimal getRealAmount() {
        return realAmount;
    }

    public void setRealAmount(BigDecimal realAmount) {
        this.realAmount = realAmount;
    }

    @Override
    public String toString() {
        return "PaymentEntity{" +
        "id='" + id + '\'' +
        "agentId='" + agentId + '\'' +
        "agentName='" + agentName + '\'' +
        "time='" + time + '\'' +
        "basic='" + basic + '\'' +
        "performance='" + performance + '\'' +
        "realAmount='" + realAmount + '\'' +
        '}';
    }

}
